{% extends 'base.html' %}
{% block head %}
    <link rel="stylesheet" href="{{ url_for('static',filename='css/detail.css') }}">
{% endblock %}
{% block title %}详情{% endblock %}
{% block main %}
    <h3 class="h3">{{question.title}}</h3>

    <p class="question-info">
        <span>作者：{{question.username}}</span>

        <span>时间：{{question.create_time}}</span>
    </p>
    <hr>
    <p class="question-content">{{ question.context }}</p>
    <hr>
    {#{% if dele1 %}
    <div class="button">
        <form action="{{ url_for('delete',delete_id=question.id) }}" method="post" >
            <button type="submit" class="btn btn-primary btn-block">删除文章</button>
        </form>
     </div>
     {% else %}
     {% endif %}#}
{% endblock %}